package com.wisely.highlight_spring4.ch2.event;

import org.springframework.context.ApplicationEvent;

/**
 * @ClassName DemoEvent
 * @Package com.wisely.highlight_spring.ch2.event
 * @Description TODO
 * @Author zjb
 * @Date 2018/7/20 12:16
 * @Version 1.0
 **/
public class DemoEvent extends ApplicationEvent {
    private static final long serialVersionUID = 1L;
    private  String msg;

    public DemoEvent(Object source,String msg) {
        super(source);
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
